package com.cover.fti.play;

import com.qwerjk.andengine.entity.sprite.PixelPerfectAnimatedSprite;
import com.qwerjk.andengine.opengl.texture.region.PixelPerfectTiledTextureRegion;

public class Bomb extends PixelPerfectAnimatedSprite{

	private float speed;
	private int damage;
	private String tipe;
	private Boolean hitTarget;
	private float targetY;
	private PixelPerfectTiledTextureRegion mPixelPerfectTiledTextureRegion;
	
	public Bomb(float pX, float pY,
			PixelPerfectTiledTextureRegion pTextureRegion) {
		super(pX, pY, pTextureRegion);
		// TODO Auto-generated constructor stub
		mPixelPerfectTiledTextureRegion = pTextureRegion;
		this.speed = 3f;
		this.damage = 15;
		this.tipe = "normal";
		this.hitTarget = false;
	}
	
	public void setTargetY(float y){
		this.targetY = y;
	}
	
	public float getTargetY(){
		return targetY;
	}
	
	public void setSpeed(float speed){
		this.speed = speed;
	}
	
	public float getSpeed(){
		return this.speed;
	}
	
	public void setDamage(int damage){
		this.damage = damage;
	}

	public int getDamage(){
		return this.damage;
	}
	
	public void setTipe(String tipe){
		this.tipe = tipe;
	}
	
	public String getTipe(){
		return this.tipe;
	}
	
	public void setHitTarget(Boolean hitTarget){
		this.hitTarget = hitTarget;
	}
	
	public Boolean getHitTarget(){
		return this.hitTarget;
	}
	
	public PixelPerfectTiledTextureRegion getBombPixelPerfectTiledTextureRegion(){
		return mPixelPerfectTiledTextureRegion;
	}
}
